package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.entity.PbeEntity;
import com.css.fxfzypg.modules.baseData.queryParams.PbeQueryParams;
import com.css.fxfzypg.modules.baseData.vo.PbeEntityVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-08-11 9:34
 */
public interface PbeService {


    PbeEntity fingPbeById(String id);

    PbeEntity savePbe(PbeEntity pbeEntity);

    PbeEntity updatePbe(PbeEntity pbeEntity);

    void deletePbe(List<String> ids);

    JSONObject getAllPbeByParams(PbeQueryParams queryParams);

    void exportExcel(HttpServletResponse response)throws IOException;

    void importExcel(MultipartFile file)throws IOException;

    PbeEntity fingPbeByPbeId(String pbeId);

    List<PbeEntity> getPbeByInfluenceflieId(String id);

    List<PbeEntityVO> getPbe2ByInfluenceflieId(String id);

    List<PbeEntity> getPbeInfo(String prefecture, String code,String taskId);
    List<PbeEntity> getPbeInfo1(String taskId);

    List<PbeEntityVO> getPbe2ByInfluenceflieIdAndTaskId(String influencefliedId, String taskId);
}
